package Day07;

public class PrimeNumber2 {
    public static void main(String[] args) {

       ;//定义一个数
        for ( int num=2;num<100;num++){
            boolean prime=true;
            for (int i=2;i<num/2;i++){//
                if (num%i==0){
                    prime=false;
                    System.out.println(num+""+prime);
                    break;
            }

            }

            if(prime){
                System.out.println(num+" "+prime);
            }
        }
    }



    }

